<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
<meta name="description" content="Default Description" />
<meta name="keywords" content="Magento, Varien, E-commerce" />
<meta name="robots" content="*" />
<link rel="icon" href="http://localhost/Eshop/skin/frontend/default/default/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="http://localhost/Eshop/skin/frontend/default/default/favicon.ico" type="image/x-icon" />
<!--[if lt IE 7]>
<script type="text/javascript">
//<![CDATA[
    var BLANK_URL = 'http://localhost/Eshop/js/blank.html';
    var BLANK_IMG = 'http://localhost/Eshop/js/spacer.gif';
//]]>
</script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="http://localhost/Eshop/skin/frontend/default/default/css/styles.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://localhost/Eshop/skin/frontend/base/default/css/widgets.css" media="all" />
<link rel="stylesheet" type="text/css" href="http://localhost/Eshop/skin/frontend/default/default/css/print.css" media="print" />
<script type="text/javascript" src="http://localhost/Eshop/js/prototype/prototype.js"></script>
<script type="text/javascript" src="http://localhost/Eshop/js/lib/ccard.js"></script>
<script type="text/javascript" src="http://localhost/Eshop/js/prototype/validation.js"></script>
<script type="text/javascript" src="http://localhost/Eshop/js/scriptaculous/builder.js"></script>
<script type="text/javascript" src="http://localhost/Eshop/js/scriptaculous/effects.js"></script>
<script type="text/javascript" src="http://localhost/Eshop/js/scriptaculous/dragdrop.js"></script>
<script type="text/javascript" src="http://localhost/Eshop/js/scriptaculous/controls.js"></script>
<script type="text/javascript" src="http://localhost/Eshop/js/scriptaculous/slider.js"></script>
<script type="text/javascript" src="http://localhost/Eshop/js/varien/js.js"></script>
<script type="text/javascript" src="http://localhost/Eshop/js/varien/form.js"></script>
<script type="text/javascript" src="http://localhost/Eshop/js/varien/menu.js"></script>

<script type="text/javascript">
//<![CDATA[
optionalZipCountries = ["HK","IE","MO","PA"];
//]]>
</script>
</head>
<body class=" cms-index-index cms-home">
<div class="wrapper">
    <div class="page">
        <div class="header-container">
    <div class="header">
                <h1 class="logo"><strong>Eshop Commerce</strong><a href="" title="Eshop Commerce" class="logo"><img src="http://localhost/Eshop/skin/frontend/default/default/images/logo.gif" alt="Eshop Commerce" /></a></h1>
                <div class="quick-access">
            <form id="search_mini_form" action="http://localhost/Eshop/skin/frontend/default/catalogsearch/result/" method="get">
    <div class="form-search">
        <label for="search">Search:</label>
        <input id="search" type="text" name="q" value="" class="input-text" />
        <button type="submit" title="Search" class="button"><span><span>Search</span></span></button>
        <div id="search_autocomplete" class="search-autocomplete"></div>
        <script type="text/javascript">
        //<![CDATA[
            var searchForm = new Varien.searchForm('search_mini_form', 'search', 'Search entire store here...');
            searchForm.initAutocomplete('http://localhost/Eshop/skin/frontend/default/catalogsearch/ajax/suggest/', 'search_autocomplete');
        //]]>
        </script>
    </div>
</form>
            <p class="welcome-msg"><?php echo Yii::app()->user->isGuest?'Default welcome message!':'Weclome to Eshop, '.Yii::app()->user->name?> </p>
            <ul class="links">
             <?php $this->widget('zii.widgets.CMenu',array(
			'items'=>array(
				array('label'=>'Home', 'url'=>array('/site/index')),
				array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
				array('label'=>'Logout', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest),
				array('label'=>'Register', 'url'=>array('/site/register'),'visible'=>Yii::app()->user->isGuest),
				array('label'=>'My Cart','url'=>array('/cart/admin'),'visible'=>!Yii::app()->user->isGuest),
				array('label'=>'My Orders','url'=>array('/orders/myOrders'),'visible'=>!Yii::app()->user->isGuest),
			),
		)); ?>
            </ul>
            <div class="form-language">
    <label for="select-language">Your Language:English</label>
			</div>
        </div>
            </div>
</div>
<div class="nav-container">
<ul id="nav">
<li class="level0 nav-1 level-top first parent">
<?php echo '<p>'.CHtml::link('Hot Goods',array('site/index')).'</p>';?>
</li><li class="level0 nav-2 level-top parent">
<?php echo '<p>'.CHtml::link('New Goods',array('goods/new')).'</p>';?>
</li><li class="level0 nav-2 level-top last parent">
<?php echo '<p>'.CHtml::link('All Goods',array('goods/index')).'</p>';?>
</li> 
 </ul>
</div>
        <?php echo $content;?>
        <div class="footer-container">
    <div class="footer">
        <ul>

<li><a href="#">About Us</a></li>

<li class="last"><a href="#">Customer Service</a></li>

</ul><ul class="links">
                        <li class="first" ><a href="#" title="Site Map" >Site Map</a></li>
                                <li ><a href="#" title="Search Terms" >Search Terms</a></li>
                                <li ><a href="#" title="Advanced Search" >Advanced Search</a></li>
                                <li ><a href="#" title="Orders and Returns" >Orders and Returns</a></li>
                                <li class=" last" ><a href="#" title="Contact Us" >Contact Us</a></li>
            </ul>
        <p></p>
        <address>&copy;<?php echo date('Y');?> Eshop Company. All Rights Reserved.</address>
    </div>
</div>
            </div>
</div>
</body>
</html>
